<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>校园二手市场 - 联系客服</title>
    <style>
        :root {
            --primary-color: #4CAF50;
            --secondary-color: #66BB6A;
            --light-gray: #F5F5F5;
            --text-color: #212121;
            --sub-text: #757575;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-gray);
            min-height: 100vh;
            padding-bottom: 60px;
            position: relative;
        }

        .header {
            background-color: var(--primary-color);
            color: white;
            padding: 1rem;
            text-align: center;
        }

        .content {
            flex: 1;
            padding-bottom: 60px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }

        .customer-service {
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-top: 1rem;
        }

        .service-title {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            color: var(--text-color);
            text-align: center;
        }

        .service-info {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: #f9f9f9;
            border-radius: 4px;
        }

        .service-info p {
            margin-bottom: 0.5rem;
        }

        .service-info p:last-child {
            margin-bottom: 0;
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-method {
            display: flex;
            align-items: center;
            padding: 1rem;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }

        .contact-method:hover {
            transform: translateY(-2px);
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.2rem;
        }

        .contact-details h3 {
            font-size: 1rem;
            margin-bottom: 0.3rem;
            color: var(--text-color);
        }

        .contact-details p {
            font-size: 0.9rem;
            color: var(--sub-text);
        }

        .feedback-form {
            margin-top: 2rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.6rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: var(--secondary-color);
        }

        .nav-bar {
            display: flex;
            justify-content: space-around;
            background-color: #fff;
            padding: 0.5rem;
            position: fixed;
            bottom: 0;
            width: 100%;
            margin: 0 auto;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
            border-radius: 12px 12px 0 0;
            z-index: 102;
        }

        .nav-bar a {
            color: var(--sub-text);
            text-decoration: none;
            padding: 0.5rem 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.8rem;
            transition: color 0.3s;
            position: relative;
        }

        .nav-bar a.active {
            color: var(--primary-color);
        }

        .nav-bar a.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background-color: var(--primary-color);
            border-radius: 3px;
        }

        .nav-icon {
            width: 24px;
            height: 24px;
            position: relative;
            margin-bottom: 0.2rem;
        }

        .home-icon::before {
            content: "🏠";
        }

        .products-icon::before {
            content: "📦";
        }

        .publish-icon::before {
            content: "✏️";
        }

        .news-icon::before {
            content: "💬";
        }

        .account-icon::before {
            content: "👤";
        }
    </style>
</head>

<body>
    <header class="header">
        <h1>校园二手市场</h1>
    </header>

    <div class="content">
        <main class="container">
            <div class="customer-service">
                <h2 class="service-title">联系客服</h2>
                
                <div class="service-info">
                    <p>亲爱的用户，您好！</p>
                    <p>如果您在使用校园二手市场过程中遇到任何问题，可以通过以下方式联系我们：</p>
                </div>
                
                <div class="contact-methods">
                    <a href="tel:12345678901" class="contact-method">
                        <div class="contact-icon">📱</div>
                        <div class="contact-details">
                            <h3>电话客服</h3>
                            <p>123-4567-8901</p>
                            <p>工作日 9:00-18:00</p>
                        </div>
                    </a>
                    
                    <a href="mailto:service@campusmarket.com" class="contact-method">
                        <div class="contact-icon">✉️</div>
                        <div class="contact-details">
                            <h3>电子邮件</h3>
                            <p>service@campusmarket.com</p>
                            <p>24小时内回复</p>
                        </div>
                    </a>
                    
                    <a href="1-customer-service.html" class="contact-method">
                        <div class="contact-icon">🤖</div>
                        <div class="contact-details">
                            <h3>AI客服</h3>
                            <p>24小时在线智能客服</p>
                            <p>立即咨询</p>
                        </div>
                    </a>
                </div>
                
                <div class="feedback-form">
                    <h3>意见反馈</h3>
                    <p>您的意见和建议对我们非常重要，请填写以下表单：</p>
                    <form id="feedbackForm">
                        <div class="form-group">
                            <label for="feedbackType">反馈类型</label>
                            <select id="feedbackType" class="form-control" required>
                                <option value="">请选择反馈类型</option>
                                <option value="bug">系统问题</option>
                                <option value="suggestion">功能建议</option>
                                <option value="complaint">投诉</option>
                                <option value="other">其他</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="feedbackContent">反馈内容</label>
                            <textarea id="feedbackContent" placeholder="请详细描述您的问题或建议..." required></textarea>
                        </div>
                        <button type="submit" class="submit-btn">提交反馈</button>
                    </form>
                </div>
            </div>
        </main>
    </div>

    <nav class="nav-bar">
        <a href="index.html">
            <div class="nav-icon home-icon"></div>
            首页
        </a>
        <a href="products.html">
            <div class="nav-icon products-icon"></div>
            商品
        </a>
        <a href="publish.html">
            <div class="nav-icon publish-icon"></div>
            发布
        </a>
        <a href="news.html">
            <div class="nav-icon news-icon"></div>
            消息
        </a>
        <a href="account.html" class="active">
            <div class="nav-icon account-icon"></div>
            我的
        </a>
    </nav>

    <script>
        function showChatModal() {
            alert('在线客服功能即将开通，目前您可以通过电话或邮件联系我们。');
        }
        
        document.getElementById('feedbackForm').addEventListener('submit', function(e) {
            e.preventDefault();
            const feedbackType = document.getElementById('feedbackType').value;
            const feedbackContent = document.getElementById('feedbackContent').value;
            
            if (!feedbackType || !feedbackContent) {
                alert('请填写完整的反馈信息');
                return;
            }
            
            // 这里可以添加实际的反馈提交逻辑
            alert('感谢您的反馈！我们会尽快处理您的问题。');
            this.reset();
        });
    </script>
</body>

</html>